package com.mes.defece.mapper;

import com.mes.pojo.defece.Incoming;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IncomingMapper {
//    分页查询
    List<Incoming> selectAll(Incoming incoming);
//    新增来料检验单
    int insert(Incoming incoming);
//    根据id查询检验单数据
    Incoming selectById(Long incomingId);
//    根据id修改检验单数据
    int updateIncomingById(Incoming incoming);
//    根据id删除来料检验单数据
    int deleteById(Incoming incoming);
}
